package com.qunar.crawler.bean;

import java.io.Serializable;

/**
 * @author waynechen Mar 9, 2012 12:48:34 PM
 */
public class ProxySetting implements Serializable {
	private static final long serialVersionUID = -8826210818007107163L;
	private String ip;
	private int prot;

	public ProxySetting(String ip, int prot) {
		this.ip = ip;
		this.prot = prot;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getProt() {
		return prot;
	}

	public void setProt(int prot) {
		this.prot = prot;
	}

	@Override
	public String toString() {
		return "ProxySetting\n [\nip=" + ip + "\nprot=" + prot + "\n]";
	}

}
